﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/11/3 10:59:10
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace CUWo.Common.Entities.WoInterface.HttpJsonResult
{
    [DataContract]
    public class JsonResultMessageError
    {
        [DataMember(Name = "msgID")]
        public string MessageId { get; set; }

        [DataMember(Name="msgTxt")]
        public string MessageContent { get; set; }

        public override string ToString()
        {
            return string.Concat("msgID:", string.IsNullOrWhiteSpace(MessageId) ? string.Empty : MessageId, ",", "msgTxt:", string.IsNullOrWhiteSpace(MessageContent) ? string.Empty : MessageContent);
        }
    }
}
